package com.wodan.zhongjinjicang.common.orm.spring;

import java.io.IOException;

import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;

/**
 * ORM模块的sql session factory
 * @ClassName: OrmSqlSessionFactoryBean 
 * @author Administrator
 * @date 2015-11-19 下午3:56:15 
 * @history 
 *
 */
public class OrmSqlSessionFactoryBean extends SqlSessionFactoryBean {
	@Override
	protected SqlSessionFactory buildSqlSessionFactory() throws IOException {
		SqlSessionFactory sqlSessionFactory = super.buildSqlSessionFactory();
		
		// 当前默认返回,后续可以在这里添加自定义代码
		
		return sqlSessionFactory;
	}
}
